<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>login</title>
	<link rel="stylesheet" href="/thinkphp1/Public/Css/index.css">
</head>
<body>
	<div class="background">
		<div class="login">
			<a href="<?php echo U('Index/index');?>" class="home" ><h1>主页</h1></a>
			<form action="<?php echo U('login');?>" method="post">
				<div class="name"><img src="/thinkphp1/Public/Image/denglu.png" width="30px">&nbsp;&nbsp;
					<input type="text" name="name" placeholder="请输入用户名"/>
				</div>
				<div class="pwd"><img src="/thinkphp1/Public/Image/denglu2.png" width="30px">&nbsp;&nbsp;&nbsp;<input type="password" name="pwd" placeholder="请输入密码"/>
				</div>
				<input type="text" class="yzm" name="yzm" />
				<img src="<?php echo U('yzm');?>" class="yzm1" onclick="change(this)">
				<script>
						function change(obj){
							obj.src=obj.src+'?id='+Math.random();
						}
				</script>
				<button type="submit" class="log">登录</button>
			</form>
		</div>
	</div>
</body>
</html>